<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
 <head>
  <meta http-equiv="content-type" content="text/html; charset=UTF-8">
  <title>Terminate monitoring</title>

 </head>
 <body><div class="manualnavbar" style="text-align: center;">
 <div class="prev" style="text-align: left; float: left;"><a href="ref.fam.html">FAM 函数</a></div>
 <div class="next" style="text-align: right; float: right;"><a href="function.fam-close.html">fam_close</a></div>
 <div class="up"><a href="ref.fam.html">FAM 函数</a></div>
 <div class="home"><a href="index.html">PHP Manual</a></div>
</div><hr /><div id="function.fam-cancel-monitor" class="refentry">
 <div class="refnamediv">
  <h1 class="refname">fam_cancel_monitor</h1>
  <p class="verinfo">(PHP 5 &lt;= 5.0.5)</p><p class="refpurpose"><span class="refname">fam_cancel_monitor</span> &mdash; <span class="dc-title">Terminate monitoring</span></p>

 </div>
 <div class="refsect1 description" id="refsect1-function.fam-cancel-monitor-description">
  <h3 class="title">说明</h3>
  <div class="methodsynopsis dc-description">
   <span class="type">bool</span> <span class="methodname"><strong>fam_cancel_monitor</strong></span>
    ( <span class="methodparam"><span class="type">resource</span> <code class="parameter">$fam</code></span>
   , <span class="methodparam"><span class="type">resource</span> <code class="parameter">$fam_monitor</code></span>
   )</div>

  <p class="para rdfs-comment">
   Terminates monitoring on a resource.
  </p>
  <p class="para">
   In addition an <strong><code>FAMAcknowledge</code></strong> event occurs.
  </p>
 </div>

 <div class="refsect1 parameters" id="refsect1-function.fam-cancel-monitor-parameters">
  <h3 class="title">参数</h3>
  <p class="para">
   <dl>

    
     <dt>
<em><code class="parameter">fam</code></em></dt>

     <dd>

      <p class="para">
       A resource representing a connection to the FAM service returned by
       <span class="function"><a href="function.fam-open.html" class="function">fam_open()</a></span>
      </p>
     </dd>

    
    
     <dt>
<em><code class="parameter">fam_monitor</code></em></dt>

     <dd>

      <p class="para">
       A resource returned by one of the <em>fam_monitor_XXX</em>
       functions
      </p>
     </dd>

    
   </dl>

  </p>
 </div>

 <div class="refsect1 returnvalues" id="refsect1-function.fam-cancel-monitor-returnvalues">
  <h3 class="title">返回值</h3>
  <p class="para">
   成功时返回 <strong><code>TRUE</code></strong>， 或者在失败时返回 <strong><code>FALSE</code></strong>。
  </p>
 </div>

 <div class="refsect1 seealso" id="refsect1-function.fam-cancel-monitor-seealso">
  <h3 class="title">参见</h3>
  <p class="para">
   <ul class="simplelist">
    <li class="member"><span class="function"><a href="function.fam-monitor-file.html" class="function" rel="rdfs-seeAlso">fam_monitor_file()</a> - Monitor a regular file for changes</span></li>
    <li class="member"><span class="function"><a href="function.fam-monitor-directory.html" class="function" rel="rdfs-seeAlso">fam_monitor_directory()</a> - Monitor a directory for changes</span></li>
    <li class="member"><span class="function"><a href="function.fam-monitor-collection.html" class="function" rel="rdfs-seeAlso">fam_monitor_collection()</a> - Monitor a collection of files in a directory for changes</span></li>
    <li class="member"><span class="function"><a href="function.fam-suspend-monitor.html" class="function" rel="rdfs-seeAlso">fam_suspend_monitor()</a> - Temporarily suspend monitoring</span></li>
   </ul>
  </p>
 </div>

</div><hr /><div class="manualnavbar" style="text-align: center;">
 <div class="prev" style="text-align: left; float: left;"><a href="ref.fam.html">FAM 函数</a></div>
 <div class="next" style="text-align: right; float: right;"><a href="function.fam-close.html">fam_close</a></div>
 <div class="up"><a href="ref.fam.html">FAM 函数</a></div>
 <div class="home"><a href="index.html">PHP Manual</a></div>
</div></body></html>
